<?php
/**
 *    
 * 通用的footer
 * date:2011/3/28  
 * @author yuyue 
 * 
 */

    //blog标题   
   $blog_title = get_bloginfo('name');
   $siteurl = get_bloginfo('template_url');
   
   

?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title><?php $blog_title ?></title>
<link href="<?php bloginfo( 'stylesheet_url' ); ?>" type="text/css" rel="stylesheet" />
  <script>
    DD_belatedPNG.fix('img');
	　function resetBtn(fm){
   　　 fm.reset();
    　　return false;
　　}
  function switchmodTag(modtag,modcontent,modk) {
         for(i=1; i <5; i++) {
             if (i==modk) {
                 document.getElementById(modtag+i).className="menuOn";document.getElementById(modcontent+i).className="slidingList";}
             else {
                 document.getElementById(modtag+i).className="menuNo";document.getElementById(modcontent+i).className="slidingList_none";}
             }
     }
     
     function clear(flag){
     	 if(flag == 1){
     	 		var hangye = document.search.hangye.value;
     	 		alert(hangye);
     	 	}
     	
     	
     	}
    
  </script>
  
  <?php
   //cat 类型
   $pid = $posts[0]->ID;
   if($pid == 185) {  
  ?>
  <link href="<?php echo $siteurl?>/pagenavi-css.css" type="text/css" rel="stylesheet" />
  
  <?php }?>
</head>

<body>
    <div id="box">
        	<div id="cool">
            	<p style="float: left; width:200px;">欢迎您来到游戏搜搜！</p>
                <span>
                    <a href="#" target="_blank" class="linkstyle01">登录</a>&nbsp;|&nbsp;
                    <a href="#" target="_blank" class="linkstyle01">注册</a>
                </span>
            </div>
            <div id="Topheay">
            	<a href="#" target="_blank" class="linkstyle01">
                	<img src="<?php echo $siteurl?>/images/logo.gif" alt="游戏搜搜" title="游戏搜搜" border="0" style="float:left;" />
                </a>
                	<div id="slidingBlock" style="margin:25px 0 0 35px; float:left;">
                        <div style="float:left; height:30px;_margin-bottom:-2px;">
                            <ul id="abc">
                                <h4 class="menuOn" id="mod1" onmouseover="switchmodTag('mod','slidingList','1');this.blur();">
                                <span>全部游戏</span></h4>
                                <h4 class="menuNo" id="mod2" onmouseover="switchmodTag('mod','slidingList','2');this.blur();">
                                <span>Flash游戏</span></h4>
                                <h4 class="menuNo" id="mod3" onmouseover="switchmodTag('mod','slidingList','3');this.blur();">
                                <span>网页游戏</span></h4> 
                                <h4 class="menuNo" id="mod4" onmouseover="switchmodTag('mod','slidingList','4');this.blur();">
                                <span>手机游戏</span></h4> 
                            </ul>
                        </div>
                        <div class="slidingList" id="slidingList1">
                            <ul>
                                <li >
                                  <form name="search">
                                        <table cellpadding="0" cellspacing="0" border="0">
                                            <tr>
                                                <td><input type="text" class="input_text" name="q" id="industry" value="请输入要检索的游戏名称" onclick="clear(1)"
                                                    onfocus="if(this.value == '请输入要检索的游戏名称') {this.value='';}init_search();" onblur="if(this.value=='')this.value='请输入要检索的游戏名称';" style="width:450px; " /></td>
                                                
                                                <td><input type="button" value=" " style=" background:url(<?php echo $siteurl?>/images/bottom_bg.gif); 
                                                width:130px; height:28px; border:none; cursor:pointer; " /></td>
                                            </tr>
                                        </table>
                                    </form> 
                                 </li> 
                            </ul>
                        </div>
                        <div class="slidingList_none" id="slidingList2">
                              <ul>
                               <li >
                                  <form name="search">
                                        <table cellpadding="0" cellspacing="0" border="0">
                                            <tr>
                                                <td><input type="text" class="input_text" name="q" id="industry" value="请输入要检索的游戏名称" onclick="clear(1)"
                                                    onfocus="if(this.value == '请输入要检索的游戏名称') {this.value='';}init_search();" onblur="if(this.value=='')this.value='请输入要检索的游戏名称';" style="width:450px; " /></td>
                                               
                                                <td><input type="button" value=" " style="background:url(<?php echo $siteurl?>/images/bottom_bg.gif); 
                                                width:130px; height:28px; border:none; cursor:pointer; " /></td>
                                            </tr>
                                        </table>
                                    </form> 
                                 </li> 
                            </ul>
                        </div>
                        <div class="slidingList_none" id="slidingList3" style="_clear:both" >
                                <ul>
                               <li >
                                  <form name="search">
                                        <table cellpadding="0" cellspacing="0" border="0">
                                            <tr>
                                                <td><input type="text" class="input_text" name="q" id="industry" value="请输入要检索的游戏名称" onclick="clear(1)"
                                                    onfocus="if(this.value == '请输入要检索的游戏名称') {this.value='';}init_search();" onblur="if(this.value=='')this.value='请输入要检索的游戏名称';" style="width:450px; " /></td>
                                              
                                                <td><input type="button" value=" " style="background:url(<?php echo $siteurl?>/images/bottom_bg.gif); 
                                                width:130px; height:28px; border:none; cursor:pointer; " /></td>
                                            </tr>
                                        </table>
                                    </form> 
                                 </li> 
                            </ul>
                        </div> 
                         <div class="slidingList_none" id="slidingList4" style="_clear:both" >
                                <ul>
                               <li >
                                  <form name="search">
                                        <table cellpadding="0" cellspacing="0" border="0">
                                            <tr>
                                                <td><input type="text" class="input_text" name="q" id="industry" value="请输入要检索的游戏名称" onclick="clear(1)"
                                                    onfocus="if(this.value == '请输入要检索的游戏名称') {this.value='';}init_search();" onblur="if(this.value=='')this.value='请输入要检索的游戏名称';" style="width:450px; " /></td>
                                               
                                                <td><input type="button" value=" " style="background:url(<?php echo $siteurl?>/images/bottom_bg.gif); 
                                                width:130px; height:28px; border:none;  cursor:pointer;" /></td>
                                            </tr>
                                        </table>
                                    </form> 
                                 </li> 
                            </ul>
                        </div> 
                    </div> 
                <!-- soso input  end  -->
            </div>